//////////////////////////////////////////////////////////////////////////////
////////////////////         BUTTONS.JS             //////////////////////////
//////////////////////////////////////////////////////////////////////////////

var mainButtonImgArray = new Array();
for (var g=0; g<28; g++){
	mainButtonImgArray[g] = new Array();
	for (var f=0; f<2; f++){
		mainButtonImgArray[g][f] = new Image();
	}
}

//Main Buttons
mainButtonImgArray[0][0].src = "image/briefnorm.jpg";		//Briefing Button
mainButtonImgArray[0][1].src = "image/briefover.jpg";
mainButtonImgArray[1][0].src = "image/cmdrnorm.jpg";		//CMDR Guidance Button
mainButtonImgArray[1][1].src = "image/cmdrover.jpg";
mainButtonImgArray[2][0].src = "image/mapnorm.jpg";			//Map Button
mainButtonImgArray[2][1].src = "image/mapover.jpg";
mainButtonImgArray[3][0].src = "image/fmnorm.jpg";			//FM Button
mainButtonImgArray[3][1].src = "image/fmover.jpg";
mainButtonImgArray[4][0].src = "image/instructnorm.jpg";	//Instructions Button
mainButtonImgArray[4][1].src = "image/instructover.jpg";
mainButtonImgArray[5][0].src = "image/postnorm.jpg";		//Post Button
mainButtonImgArray[5][1].src = "image/postover.jpg";

//Map Buttons
mainButtonImgArray[6][0].src = "image/maneuvernorm.jpg";	//Maneuver Button
mainButtonImgArray[6][1].src = "image/maneuverover.jpg";
mainButtonImgArray[7][0].src = "image/commandnorm.jpg";		//Command & Control Button
mainButtonImgArray[7][1].src = "image/commandover.jpg";
mainButtonImgArray[8][0].src = "image/unitsnorm.jpg";		//Units Button
mainButtonImgArray[8][1].src = "image/unitsover.jpg";
mainButtonImgArray[9][0].src = "image/cssnorm.jpg";			//CSS Button
mainButtonImgArray[9][1].src = "image/cssover.jpg";

//Buttons that come off of Maneuver
mainButtonImgArray[10][0].src = "image/generalnorm.jpg";	//General Button
mainButtonImgArray[10][1].src = "image/generalover.jpg";
mainButtonImgArray[11][0].src = "image/offensnorm.jpg";		//Offensive Button
mainButtonImgArray[11][1].src = "image/offensover.jpg";

//Buttons that come off of Maneuver/General
mainButtonImgArray[12][0].src = "image/st22pg3.jpg";		//Boundaries Button
mainButtonImgArray[12][1].src = "image/st22pg3mo.jpg";
mainButtonImgArray[13][0].src = "image/st23pg3.jpg";		//Forward Line of own Troops Button
mainButtonImgArray[13][1].src = "image/st23pg3mo.jpg";
mainButtonImgArray[14][0].src = "image/st24pg3.jpg";		//Phase Line Button
mainButtonImgArray[14][1].src = "image/st24pg3mo.jpg";

//Buttons that come off of Maneuver/Offensive
mainButtonImgArray[15][0].src = "image/limitofad_norm.jpg";		//Direction of Attack Button
mainButtonImgArray[15][1].src = "image/limitofad_down.jpg";
mainButtonImgArray[16][0].src = "image/axisofadv_norm.jpg";		//Final Coordination Line Button
mainButtonImgArray[16][1].src = "image/axisofadv_down.jpg";
mainButtonImgArray[17][0].src = "image/st27pg3.jpg";		//Line of Departure Button
mainButtonImgArray[17][1].src = "image/st27pg3mo.jpg";

//Buttons that come off of Command & Control
mainButtonImgArray[18][0].src = "image/st6pg3.jpg";			//Checkpoint Button
mainButtonImgArray[18][1].src = "image/st6pg3mo.jpg";
mainButtonImgArray[19][0].src = "image/st7pg3.jpg";			//Coordinating Point Line Button
mainButtonImgArray[19][1].src = "image/st7pg3mo.jpg";
mainButtonImgArray[20][0].src = "image/regmark2norm.jpg";			//Start Point Button
mainButtonImgArray[20][1].src = "image/regmark2over.jpg";

//Buttons that come off of Units
mainButtonImgArray[21][0].src = "image/friendlynorm.jpg";	//Friendly Button
mainButtonImgArray[21][1].src = "image/friendlyover.jpg";
mainButtonImgArray[22][0].src = "image/enemynorm.jpg";		//Enemy Button
mainButtonImgArray[22][1].src = "image/enemyover.jpg";

//Buttons that come off of Units/Friendly
mainButtonImgArray[23][0].src = "image/occupiednorm.jpg";	//Occupied Button
mainButtonImgArray[23][1].src = "image/occupiedover.jpg";
mainButtonImgArray[24][0].src = "image/proposednorm.jpg";	//Proposed Button
mainButtonImgArray[24][1].src = "image/proposedover.jpg";

//Buttons that come off of CSS
mainButtonImgArray[25][0].src = "image/st17pg3.jpg";		//Ammunition Points Button
mainButtonImgArray[25][1].src = "image/st17pg3mo.jpg";
mainButtonImgArray[26][0].src = "image/st18pg3.jpg";		//Forward Arming and Refueling Point Button
mainButtonImgArray[26][1].src = "image/st18pg3mo.jpg";
mainButtonImgArray[27][0].src = "image/st34pg3.jpg";		//Main Supply Route Button
mainButtonImgArray[27][1].src = "image/st34pg3mo.jpg";
